const domain = {
    requestDomain: 'https://zuijia365.com',
    socketDomain: 'wss://zuijia365.com',
    uploadFileDomain: 'https://zuijia365.com',
    downloadFileDomain: 'https://zuijia365.com'
};

const service = {
    /**用户登录接口 */
    userLogin: '/todayHot/user/userLogin.json',

    /**创建用户 */
    saveUser: '/todayHot/user/saveIfNotExists.json',

    /**获取用户信息 */
    userInfo: '/todayHot/user/queryById.json',

    /**短视频分类接口 */
    queryIndexCategory: '/todayHot/wxApplet/category/queryIndexCategorys.json',

    /**短视频首页接口 */
    queryVideosByPage: '/todayHot/wxApplet/resource/queryVideosByPage.json',

    /**短视频详情接口 */
    queryVideoDetail: '/todayHot/wxApplet/resource/queryVideoDetail.json',

    /**取消对图片的点赞 */
    cancelImageLike: '/todayHot/userResource/delResourceComment.json',

    /**点赞/评论 */
    favorComment: '/todayHot/userResource/saveResourceComment.json',

    /**评论列表 */
    commentList: '/todayHot/userResource/queryCommentByPage.json',

    /*保存用户信息*/
    saveWxUserInfo: '/todayHot/wxApplet/user/saveWxUserInfo.json',

    /*视频推荐*/
    recommendVideoRes: '/todayHot/wxApplet/recommend/recommendVideoRes.json',
};

module.exports = {
    domain: domain,
    service: service
};